home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 3
/
BBS in a box - Trilogy III.iso
/
Files
/
DA
/
P
/
Pica Calculator 2
/
PC2 Folder
/
PC2 Sample Pgms
/
PC2 Sample Pgms.rsrc
/
pPGM_8233_Step Scaling
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
1993-07-16
|
364 b
|
45 lines
#0
sStepCount
?Maximum device scale?
/
#100
=
∞
?Desired scale?
/
#100
=
sDesiredScale
<
GScaleDown
»ScaleUp
#1
∑StepCount
rDesiredScale
¥
rStepCount
=
!scale in device range?
≥
GScaleUp
GDone
»ScaleDown
#1
∑StepCount
rDesiredScale
¥
rStepCount
=
!scale in device range?
<
GScaleDown
»Done
*
#100
=
@Scale each step by %:
rStepCount
@Number of steps required:
“
~